//
//  AboutViewController.m
//  HMPersonalDoctor
//
//  Created by ziv on 16/9/10.
//  Copyright © 2016年 geduo. All rights reserved.
//

#import "AboutViewController.h"

@interface AboutViewController ()

@end

@implementation AboutViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.navigationItem.title = @"关于";
    [self loadWeb];
}


-(void)loadWeb

{

    UIWebView *aboutView = [[UIWebView alloc]initWithFrame:self.view.bounds];
    NSURL *URL = [NSURL URLWithString:@"http://baike.baidu.com/link?url=9Tidx0kVhYvs8d3-tpIqQMmXANxh3ZuFSX4fCKW6XV7iuj4NzwVkEz-KhsCZcVhV9kRjo3TI3SU8GpqGJsQ6gFKTxZAQYRpBg0etO03K6UW"];
    
    
    
    NSURLRequest *requestM = [NSURLRequest requestWithURL:URL];
    [aboutView loadRequest:requestM];
    
    aboutView.scalesPageToFit =YES;
    [self.view addSubview:aboutView];


}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
